package dao.v2;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import model.GoodStandardVO;
import model.MemberCartVO;

public interface GoodStandardVOMapper {

	int getCartTotalTickets(List<MemberCartVO> l);

	double getCartTotalPrice(List<MemberCartVO> l);

	double getCartTicketPrice(List<MemberCartVO> l);

	int getCartTotalTicketsByBuyOne(@Param("standard_id")String standard_id, @Param("num")String num);

	double getCartTotalPriceByBuyOne(@Param("standard_id")String standard_id, @Param("num")String num);

	double getCartTicketPriceByBuyOne(@Param("standard_id")String standard_id, @Param("num")String num);

	GoodStandardVO checkGood(String standard_id);

	String selectGoodState(String standard_id);


}
